\pdfoutput=1
\pdfcompresslevel=9
\pdfinfo
{
    /Author (Paweł Najgebauer)
    /Title (Tytul)
    /Subject (Tematyka)
    /Keywords (Slowa kluczowe)
}
\documentclass[a4paper,onecolumn,oneside,11pt,wide,floatssmall]{mwrep}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
%\usepackage{times}
\usepackage{bookman}
\usepackage{indentfirst}
\usepackage{float}
\usepackage{wrapfig}
%\usepackage{jurabib}
%\renewcommand{\bibbtsep}{w: }
%\jurabibsetup{
% 	ibidem={strict,name},
% 	titleformat={commasep,italic},
% 	authorformat={abbrv,citationreversed},
% 	}
%\renewcommand*{\jbtitlefont}{\textit}
%\renewcommand*{\jbapifont}{\textit}


\usepackage{geometry}
\usepackage{t1enc}
\usepackage[pdftex, bookmarks=false, hyperref=false]{hyperref}
\def\url#1{{ \tt #1}}

\usepackage{listings}

\linespread{1.5} %interlinia

%floats here!
\restylefloat{figure}
\restylefloat{table}
% marginesy
\textwidth\paperwidth
\advance\textwidth -55mm
\oddsidemargin-1in
\advance\oddsidemargin 33mm
\evensidemargin-1in
\advance\evensidemargin 33mm
\topmargin -1in
\advance\topmargin 25mm
\setlength\textheight{48\baselineskip}
\addtolength\textheight{\topskip}
\marginparwidth15mm

\clubpenalty=10000 % to kara za sierotki
\widowpenalty=10000 % nie pozostawia wdów
\brokenpenalty=10000 % nie dzieli wyrazów pomiêdzy stronami 
\sloppy

\tolerance4500
\pretolerance250
\hfuzz=1.5pt
\hbadness1450

%\jurabibsetup{
%	authorformat=smallcaps,
%	commabeforerest,
%	titleformat=colonsep,
%	bibformat=tabular
%}

% ¯YWA PAGINA
\renewcommand{\chaptermark}[1]{\markboth{\scshape\small\bfseries \
#1}{\small\bfseries \ #1}}
\renewcommand{\sectionmark}[1]{\markboth{\scshape\small\bfseries\thesection.\
#1}{\small\bfseries\thesection.\ #1}}
\pagestyle{uheadings}

\usepackage[pdftex]{color,graphicx}

\usepackage[utf8x]{inputenc}
\usepackage[sort, compress]{cite}


\definecolor{ListingBackground}{rgb}{0.95,0.95,0.95}

\begin{document}

% kody ¼ród³owe wplatane w tekst
\lstdefinestyle{incode}
{
basicstyle={\footnotesize},
keywordstyle={\bf\footnotesize\color{blue}},
commentstyle={\em\footnotesize\color{magenta}},
numbers=left, 
stepnumber=5, 
firstnumber=1,
numberfirstline=true,
numberblanklines=true,
numberstyle={\sf\tiny}, 
numbersep=10pt, 
tabsize=2,
xleftmargin=17pt,
framexleftmargin=3pt,
framexbottommargin=2pt,
framextopmargin=2pt,
framexrightmargin=0pt,
showstringspaces=true,
backgroundcolor={\color{ListingBackground}},
extendedchars=true,
% title=\lstname,
captionpos=b,
% abovecaptionskip=1pt,
% belowcaptionskip=1pt,
frame=tb,
framerule=0pt, 
}

% kody ¼ród³owe z podpisem
\lstdefinestyle{outcode}
{
basicstyle={\footnotesize},
keywordstyle={\bf\footnotesize\color{blue}},
commentstyle={\em\footnotesize\color{magenta}},
numbers=left, 
stepnumber=5, 
firstnumber=1,
numberfirstline=true,
numberblanklines=true,
numberstyle={\sf\tiny}, 
numbersep=10pt, 
tabsize=2,
xleftmargin=17pt,
framexleftmargin=3pt,
framexbottommargin=2pt,
framextopmargin=2pt,
framexrightmargin=0pt,
showstringspaces=true,
backgroundcolor={\color{ListingBackground}},
extendedchars=true,
% title=\lstname,
captionpos=b,
% abovecaptionskip=1pt,
% belowcaptionskip=1pt,
frame=tb,
framerule=0.1pt, 
}


%\pagenumbering{roman}
\renewcommand{\baselinestretch}{1.0}
\raggedbottom
%\input {tex/title} <- TODO to ma wrocic + zyciorys,zdjecie

%\tableofcontents<- TODO to ma wrocic


%\setlength{\baselineskip}{7mm}
\newpage
%\pagenumbering{arabic}
%\setcounter{page}{4} <- TODO to ma wrocic

\include{__structure}

%\appendix

%\chapter*{List of Names}
%\listoftables<- TODO to ma wrocic
%\listoffigures<- TODO to ma wrocic
%\lstlistoflistings<- TODO to ma wrocic

% tutaj za³±czniki

\nocite{*}
\bibliographystyle{unsrt}
\bibliography{../bib/other}

\end{document}
